﻿<title>{$webTitle}-{:config("web_webname")}</title>
<div class="app-header t-v bg-bai dl2 bb b-hui"><span class="header-l t-v nowrap" onclick="x.mclose();"><i
        class="icon icon-pleft f9"></i>返回</span> <span class="header-c t-v t-c nowrap">购买挂机配额</span> <span
        class="header-r t-v t-r nowrap" onclick=""><i class="icon  f10"></i></span></div>
<div class="app-content bg-bai f6">
    <div class="p4">
        <div class="pb2">
            <div class="radio pt2 pb2"><i class="icon icon-shuju qing f10 mr1 v-2"></i> <label class="i-checks"> <input
                    type="radio" name="peiever" value="1" onclick="ajax_get_peie(1);"> <i></i> <b>1个配额 - 永久</b>{php}if (config('sys_is_shop_pe_zk') == 1) {echo '<span class="ml3 f3 hong">优惠</span>';}{/php}
                </label>
            </div>
            <div class="radio pt2 pb2"><i class="icon icon-shuju qing f10 mr1 v-2"></i> <label class="i-checks"> <input
                    type="radio" name="peiever" value="2" onclick="ajax_get_peie(2);" checked="checked"> <i></i> <b>3个配额
                - 永久</b>{php}if (config('sys_is_shop_pe_zk') == 1) {echo '<span class="ml3 f3 hong">优惠</span>';}{/php}
                </label></div>
            <div class="radio pt2 pb2"><i class="icon icon-shuju qing f10 mr1 v-2"></i> <label class="i-checks"> <input
                    type="radio" name="peiever" value="3" onclick="ajax_get_peie(3);"> <i></i> <b>5个配额 - 永久</b>{php}if (config('sys_is_shop_pe_zk') == 1) {echo '<span class="ml3 f3 hong">优惠</span>';}{/php}
                </label></div>
            <div class="radio pt2 pb2"><i class="icon icon-shuju qing f10 mr1 v-2"></i> <label class="i-checks"> <input
                    type="radio" name="peiever" value="4" onclick="ajax_get_peie(4);"> <i></i> <b class="fen">10个配额 -
                永久</b>{php}if (config('sys_is_shop_pe_zk') == 1) {echo '<span class="ml3 f3 hong">优惠</span>';}{/php}
                </label></div>
        </div>
        <hr/>
        <div class="pt4 pb4 f5" id="pektjiage">-</div>
        <div class="box_list t-v">
                        {if condition="config('sys_is_alipay') eq 1"}
                        <div box-type="alipay" class="h8 pl1 pr2 t-v f3 b b-hui mr2 active"><i
						class="icon icon-zfbpay f8 lan pr1" style="padding-left: 6px;"></i> 支付宝<img src="//cdn.istt.cn/cdn/img/box.png"></div>
						{/if}
						{if condition="config('sys_is_wxpay') eq 1"}
							<div box-type="wxpay" class="h8 pl1 pr2 t-v f3 b b-hui mr2"><i
						class="icon icon-wxpay f8 lv pr1" style="padding-left: 6px;"></i> 微信<img src="//cdn.istt.cn/cdn/img/box.png"></div>
						{/if}
						{if condition="config('sys_is_qqpay') eq 1"}
							<div box-type="qqpay" class="h8 pl1 pr2 t-v f3 b b-hui mr2"><i
						class="icon icon-qqpay f8 dlan pr1" style="padding-left: 6px;"></i> QQ<img src="//cdn.istt.cn/cdn/img/box.png"></div>
						{/if}
							<div box-type="ypay" class="h8 pl1 pr2 t-v f3 b b-hui"><i
						class="icon icon-moneybag f8 hong pr1" style="padding-left: 6px;"></i> 余额<img src="//cdn.istt.cn/cdn/img/box.png"></div>
            <input type="hidden" name="type" value="alipay"></div>
        <div class="mt6">
            <button class="btn btn-qing btn-md w" onclick="ajax_shop_peie();">确 定 购 买</button>
        </div>
        <div class="in-list in-t top mt8 mb3 f2 hui">
            <dl>
                <dt>1、</dt>
                <dd>挂机配额可增加秒赞挂机QQ数量，开通了秒赞会员的所有挂机QQ均可享受会员权限。</dd>
            </dl>
            <dl>
                <dt>2、</dt>
                <dd>推荐与秒赞VIP会员同时开通，一次购买多个配额有优惠哦。<strong><a class="lan" href="javascript:;" onclick="mode_shop_vip();">点此开通秒赞会员</a></strong>
                </dd>
            </dl>
        </div>
    </div>
</div>
<script>
    function ajax_get_peie(id) {
		x.ajax('{:url('user_ajax/shop',['act'=>'price'])}', 'type=pe&id=' + id);
    }
    function ajax_shop_peie() {
        var ver = $('input[name="peiever"]:checked').val();
        var type = $('input[name="type"]').val();
		x.ajax('{:url('user_ajax/shop',['act'=>'peie'])}', '&shopid=' + ver + '&shop=pe&pay_type=' + type);
    }
    $(function ($) {
        ajax_get_peie(2);
    });
</script>